package com.tanhua.dubbo.api;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.tanhua.model.db.Settings;
import com.tanhua.model.db.UserInfo;
import org.bson.types.ObjectId;

import java.util.List;
import java.util.Map;

public interface UserInfoApi {



    void saveMsg(UserInfo userInfo);

    void head(UserInfo userInfo);

    UserInfo findById(Long userId);


    Map<Long, UserInfo> findIds(List<Long> ids);

    IPage findAll(Integer page, Integer pageSize);
}
